package com.neusoft.blog.mapper;

import com.neusoft.blog.bean.Article;
import com.neusoft.blog.bean.ArticlePo;
import com.neusoft.blog.bean.Echars;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleMapper {
    int saveAticle(Article article);

    int updeteAticle(Article article);

    List<Article> getArticls(  ArticlePo articlePo);

    Article getArticlsById(Integer aid);

    int updeteCount(@Param("count") Integer count,@Param("aid") Integer aid);

    int delArticl(Integer id);

    int multiDel(@Param("ids")Integer[] ids);

    List<Echars> echarsByName();
}
